Silk Mobile

Table of Contents (Homepage)

Dynamic TEXT Recognition

images/images/os-icons/os_ios_150x150.png

images/images/os-icons/os_android_150x150.png

images/images/os-icons/os_windows_150x150.png

images/images/os-icons/os_blackberry_150x150.png

To use TEXT (OCR) dynamically perform the following:

Step 1: Set the Zone to "TEXT".

images/download/attachments/3310467/e.jpg

Step 2: Insert the text value of the element.

Advanced

Regular expressions

You can use regular expression with Java syntax.

In the element parameter use the following: "regexp:<expression> "

Example

We will use the GetElementCount command and the regular expression * (which means any character), to count the number of Expense : <NUM> texts visible on the screen.

images/download/attachments/3310467/f.jpg

The command to use:

images/download/attachments/3310467/g.jpg

The result of the command will be 3.